package com.traffic.model;

import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 违法记录表
 * </p>
 *
 * @author Hongyue Wang
 * @since 2017-04-20
 */
@TableName("TRAFFIC_LAW_LOGS")
public class TrafficLawLogs extends Model<TrafficLawLogs> {

    private static final long serialVersionUID = 1L;

    /**
     * PK
     */
	@TableId(value="ID", type= IdType.AUTO)
	private Integer id;
    /**
     * 机动车ID
     */
	@TableField("MOTOR_ID")
	private Integer motorId;
    /**
     * 违法时间
     */
	@TableField("LAW_TIME")
	private String lawTime;
    /**
     * 违法地点
     */
	@TableField("LAW_PLACE")
	private String lawPlace;
    /**
     * 违法图片展示
     */
	@TableField("LAW_PIC")
	private String lawPic;
    /**
     * 违法情况说明
     */
	@TableField("LAW_EXPLAIN")
	private String lawExplain;
    /**
     * 是否删除
     */
	@TableField("IS_DELETE")
	private String isDelete;
    /**
     * 添加人
     */
	@TableField("CREAT_USER_ID")
	private Integer creatUserId;
    /**
     * 添加时间
     */
	@TableField("CREAT_TIME")
	private String creatTime;
    /**
     * 修改人
     */
	@TableField("EDIT_USER_ID")
	private Integer editUserId;
    /**
     * 修改时间
     */
	@TableField("EDIT_TIME")
	private String editTime;


	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getMotorId() {
		return motorId;
	}

	public void setMotorId(Integer motorId) {
		this.motorId = motorId;
	}

	public String getLawTime() {
		return lawTime;
	}

	public void setLawTime(String lawTime) {
		this.lawTime = lawTime;
	}

	public String getLawPlace() {
		return lawPlace;
	}

	public void setLawPlace(String lawPlace) {
		this.lawPlace = lawPlace;
	}

	public String getLawPic() {
		return lawPic;
	}

	public void setLawPic(String lawPic) {
		this.lawPic = lawPic;
	}

	public String getLawExplain() {
		return lawExplain;
	}

	public void setLawExplain(String lawExplain) {
		this.lawExplain = lawExplain;
	}

	public String getIsDelete() {
		return isDelete;
	}

	public void setIsDelete(String isDelete) {
		this.isDelete = isDelete;
	}

	public Integer getCreatUserId() {
		return creatUserId;
	}

	public void setCreatUserId(Integer creatUserId) {
		this.creatUserId = creatUserId;
	}

	public String getCreatTime() {
		return creatTime;
	}

	public void setCreatTime(String creatTime) {
		this.creatTime = creatTime;
	}

	public Integer getEditUserId() {
		return editUserId;
	}

	public void setEditUserId(Integer editUserId) {
		this.editUserId = editUserId;
	}

	public String getEditTime() {
		return editTime;
	}

	public void setEditTime(String editTime) {
		this.editTime = editTime;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

}
